<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex, nofollow">
<title><?php echo $webConfig['appname']?></title>
<?php
echo $this->Html->css('backend/style');
echo $this->Html->css('backend/icon');
echo $this->Html->css('backend/dropdown');
echo $this->Html->css('backend/dropdownTheme');


echo $this->Html->script('jquery');
echo $this->Html->script('jquery-ui-1.8.12.custom.min');
echo $this->Html->script('json2');
echo $this->Html->script('backend/jquery.history');
echo $this->Html->script('backend/jquery.dropdown');
echo $this->Html->script('backend/jquery.form');


//ckeditor
echo $this->Html->script('../plugins/ckeditor/ckeditor');


/*
//for swfupload
echo $this->Html->script('../plugins/SWFUpload/js/swfupload');
echo $this->Html->script('../plugins/SWFUpload/js/handlers');
echo $this->Html->script('../plugins/SWFUpload/js/fileprogress');
echo $this->Html->css('../plugins/SWFUpload/css/default');
//===============
*/
//for fineuploader
echo $this->Html->script('../plugins/fineuploader/fineuploader-3.0');
echo $this->Html->css('../plugins/fineuploader/fineuploader');
//===============

//other script
echo $this->Html->script('backend/newscript');
echo $this->Html->script('backend/jsinit');
echo $this->Html->script('common');

?>

<script>	
	BACKEND_URL="<?php echo BACKEND_URL?>";
	SITE_URL="<?php echo SITE_URL?>";
	WEBROOT="<?php echo $this->webroot?>";		
	
</script>

</head>
<body>
<div id="loading" style="display:none; text-align:left">
  <div id="cover" style="position:absolute;"></div>
  <div id="imgcover" ><img border=0 src="<?php echo $this->webroot?>img/backend/loading.gif" style="margin-right:10px" /><b><?php _resource('loading...')?></b></div>
</div>
<a id="top" href="javascript:;"></a>
<div style="position: fixed; width:100%; top:0px">
	<div id="header">
		<?php echo $webConfig['appname']?>
	</div>
	<div id="mainMenu">
	<?php echo $this->element('adminmenu');?>
	</div>
</div>

<div id="body" style="margin-top:70px;"> <?php echo $this->fetch('content');?> </div>

<?php echo $this->element('sql_dump');
echo $this->Js->writeBuffer();
?>

</body>
</html>
